<template>
  <div class="PhotoList">
    <div class="PhotoList-wrapper"   v-for="fit in fits" >
      <div class="PhotoList-list idle">
        <div class="PhotoList-list-title">
          VIVO X21A
        </div>
        <div class="PhotoList-list-detail">
          <div class="PhotoList-list-phone"><img data-v-484d8e50=""
                                                 src="https://image.uc.cn/s/uae/g/3w/irma-static/irma-ui/phone-thumbnail/vivo_X21_140.jpg"
                                                 alt=""></div>
          <ul class="PhotoList-list-content long">
            <li class="extend-list-text">
              机型：<span data-v-484d8e50="">X21A</span>
            </li>
            <li>系统版本：<span data-v-484d8e50="">9.0</span></li>
            <li>内存：<span data-v-484d8e50="">5.6 G</span></li> <!----> <!---->
            <li>分辨率：<span data-v-484d8e50="">1080*2280</span></li>
          </ul>
        </div>
        <div class="PhotoList-list-status">
          <span  class="idle">
              <i class="el-icon-monitor " ></i>
            <span
              class="text">设备空闲</span></span>
          <button data-v-484d8e50="" type="button" class="ivu-btn ivu-btn-success"><!----> <!----> <span>立即使用</span></button>
        </div>
      </div>
    </div>
  </div>
</template>
<script>

  export default {
    data() {
      return {
        fits: ['fill', 'contain', 'cover', 'none', 'scale-down', 'scale-down1'],
        url: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg'
      }
    },
    mounted() {

    }
  }


</script>

<style lang="scss" scoped>

  .ivu-btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    white-space: nowrap;
    line-height: 1.5;
    -webkit-user-select: none;
    user-select: none;
    padding: 6px 15px;
    font-size: 12px;
    border-radius: 4px;
    -webkit-transition: color .2s linear,background-color .2s linear,border .2s linear,box-shadow .2s linear;
    transition: color .2s linear,background-color .2s linear,border .2s linear,box-shadow .2s linear;
    color: #495060;
    background-color: #f7f7f7;
    border: 1px solid #dddee1;
  }
  .ivu-btn-success {
    color: #fff;
    background-color: #19be6b;
    border-color: #19be6b;
  }
  .dashboard {
    &-container {
      margin: 30px;
    }

    &-text {
      font-size: 30px;
      line-height: 46px;
    }
  }

  .PhotoList {
    width: 100%;
    min-height: 100px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .PhotoList-wrapper {
    width: 20%;
    margin: 10px 0;
  }

  .PhotoList-list {
    width: 240px;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
    min-width: 100px;
    box-sizing: content-box;
    position: relative;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    border: 1px solid #ddd;
  }
  .PhotoList-list-detail {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
  }
  .PhotoList-list-title {
    margin: 20px 0 10px;
    text-align: center;
    font: normal 500 16px/1 arial;
    word-spacing: 3px;
    color: #333;
  }
  .PhotoList-list-phone {
    margin: 10px 16px;
    height: 110px;
    background: #fff;
    border-radius: 10%;
  }
  .PhotoList-list-phone img {
    width: auto;
    height: 100%;
  }
  .PhotoList-list-content {
    margin: 8px 0;
    height: 24px;
    line-height: 24px;
    text-align: left;
    color: #999;
  }
  ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
  }
  ol, ul {
    list-style: none;

  }
  .PhotoList-list-content li {
    font-size: 13px;
  }
  .text{
    font-size: 13px;
    color: #19be6b;
    display: inline-block;
    vertical-align: middle;
  }
  .extend-list-text {
    height: 24px;
  }
  .PhotoList-list-status {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 12px 18px;
    margin-top: 16px;
    height: 48px;
    border-top: 1px solid #ddd;
  }
  .ivu-poptip {
    display: inline-block;
  }
  .ivu-poptip-rel {
    display: inline-block;
    position: relative;
  }
  .desc {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 112px;
    display: inline-block;
  }
  .ivu-btn-success {
    color: #fff;
    background-color: #19be6b;
    border-color: #19be6b;
  }
  .PhotoList-list-status span.idle[data-v-484d8e50] {
    color: #19be6b;
  }
</style>
